<?php

// Datenbank KKonfiguration.
//define('DB_HOST', 'localhost');
define('DB_HOST', '192.168.1.11');
//define('DB_NAME', 'makler');
define('DB_NAME', 'db09ito6');
define('DB_USER', 'root');
define('DB_PASS', '');     // <=== PASSWORT hier eintragen
define('DB_TYPE', 'mysql');
define('DB_PORT', '3306');




// group rights

$groupName = DEFAULT_USERGROUP;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_DETAIL] 					= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CUSTOMER] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CALLCENTERAGENT] 		= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_OFFER] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_FOROBJECT] 			= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_MINPRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_PRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_STATUS] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_CUSTOMER]				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_CUSTOMERFOROBJECT] 	= 0;


$groupName = "makler";
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_DETAIL] 					= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CUSTOMER] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CALLCENTERAGENT] 		= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_OFFER] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_FOROBJECT] 			= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_MINPRICE] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_PRICE] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_STATUS] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_CUSTOMER]				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_CUSTOMERFOROBJECT] 	= 1;


$groupName = "mitarbeiter";
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_DETAIL] 					= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CUSTOMER] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CALLCENTERAGENT] 		= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_OFFER] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_FOROBJECT] 			= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_MINPRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_PRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_STATUS] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_CUSTOMER]				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_CUSTOMERFOROBJECT] 	= 0;


$groupName = "Kunde";
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_DETAIL] 					= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CUSTOMER] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CALLCENTERAGENT] 		= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_OFFER] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_FOROBJECT] 			= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_MINPRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_PRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_STATUS] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_CUSTOMER]				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_CUSTOMERFOROBJECT] 	= 0;


$groupName = "agent";
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_DETAIL] 					= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CUSTOMER] 				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_CALLCENTERAGENT] 		= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_CREATE_OFFER] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_FOROBJECT] 			= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_MINPRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_PRICE] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_UPDATE_STATUS] 				= 0;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_VIEW_CUSTOMER]				= 1;
$cfg[CFG_GROUPRIGHTS][$groupName][GROUP_RIGHT_SUBSCRIBE_CUSTOMERFOROBJECT] 	= 1;

?>